<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<%@ page import="com.ascertia.adss.demo.gosign.forms.ASC_GoSignActionForm"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>GoSign</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/JavaScript">

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function SubmitToFillPDF() {	 	
	 document.forms[0].selectedRequestType.value = "fillPDF";
     document.forms[0].submit();
}

</script>

<link href="style_sheet.css" rel="stylesheet" type="text/css">
</head>

<body>

<html:form action="/pages/fill_pdf" method="post" enctype="multipart/form-data">

<html:hidden property="selectedRequestType" value=""/>

<center>
  <table width="752" border="0" cellpadding="0" cellspacing="0">
    <!--DWLayoutTable-->
	<tr> 
    <td width="13" height="10"></td>
    <td width="973"></td>
    <td width="13"></td>
  </tr>
    <tr> 
      <td width="752" height="707" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="29%" height="108"><img src="images/logo2.gif" width="181" height="108"></td>
            <td height="108" colspan="2"><div align="right"><img src="images/top-txt.gif" width="535" height="45"></div></td>
          </tr>
          <tr> 
            <td width="29%" height="13">&nbsp;</td>
            <td width="71%">&nbsp;</td>
          </tr>
        </table>
		<center>
        <table width="579" border="0" cellpadding="3" cellspacing="0">
          <!--DWLayoutTable-->
          <tr> 
              <td width="567" height="34" colspan="2" valign="top"><h1 align="center"><font size="3">Example 
                  Online Purchase Order</font></h1></td>
            </tr>
          

		  <tr> 
              <td height="150" colspan="2" valign="top"> <table width="581" height="150" border="0" cellpadding="3" cellspacing="0">
                  <tr> 
                    <td width="265" height="30"> <div align="right">Your Name:</div></td>
                    <td width="304"><html:text property="name" name="manageGSForm"/></td>
                  </tr>
                  <tr> 
                    <td height="31"> <div align="right">Email Address:</div></td>
                    <td><html:text property="emailAddress" name="manageGSForm"/></td>
                  </tr>
                  <tr> 
                    <td height="34"><div align="right">Company Name:</div></td>
                    <td><html:text property="companyName" name="manageGSForm"/></td>
                  </tr>
                  <tr> 
                    <td height="34"><div align="right">Enter Purchase Order Number:</div></td>
                    <td><html:text property="purchaseOrderNumber" name="manageGSForm"/></td>
                  </tr>
                  <tr> 
                    <td height="34"><div align="right">Enter number of PDF Sign&amp;Seal 
                        licenses required:</div></td>
                    <td><html:text property="numberOfLiscences" name="manageGSForm"/></td>
                  </tr>
                  <tr> 
                    <td height="34"> <div align="right">Total Order Value:</div></td>
                    <td><html:text property="totalOrderValue" name="manageGSForm"/></td>
                  </tr>
                  <tr> 
                    <td height="19"> <div align="right"></div></td>
                    <td>&nbsp;</td>
                  </tr>
                </table></td>
            </tr>
		  
		  <tr>
		  	<td colspan="2" nowrap="nowrap" valign="top"><b>Note:</b> Please do not use Unicode characters in any of the above form fields. These will be supported in future releases of demo.</td>
		  </tr>
		  <tr></tr>
          <tr>
            <td height="25" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
            <td valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
          </tr>
          <tr> 
            <td width="233" height="55" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
            <td width="334" valign="top"> <div align="right"> 
                <input name="Button6" type="button" class=Tab id="Button6"
								   onMouseOver="this.className='Tab-Focus'" 
                                onMouseOut="this.className='Tab'" value="Continue" onClick="SubmitToFillPDF()">
                <input name="Button62" type="button" class=Tab id="Button62"
								   onMouseOver="this.className='Tab-Focus'" 
                                onMouseOut="this.className='Tab'" value="Cancel" onClick="window.location.href='introduction.htm'">
              </div></td>
          </tr>
        </table>
		</center>
        <p>&nbsp;</p></td>
    </tr>
  </table>
</center>
</html:form>
</body>
</html>
